package com.zsrt.java.day20161229.lh.day.demo05;

public class Tank {
	
	private String price;
	
	private int speed;
	
	private int range;
	
	private String shoot;

	public Tank() {
		
	}

	public Tank(String price, int speed, int range, String shoot) {
		super();
		this.price = price;
		this.speed = speed;
		this.range = range;
		this.shoot = shoot;
	}

	public String getShoot() {
		return shoot;
	}

	public void setShoot(String shoot) {
		this.shoot = shoot;
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public int getSpeed() {
		return speed;
	}

	public void setSpeed(int speed) {
		this.speed = speed;
	}

	public int getRange() {
		return range;
	}

	public void setRange(int range) {
		this.range = range;
	}

	public Tank(String price, int speed, int range) {
		super();
		this.price = price;
		this.speed = speed;
		this.range = range;
	}



	@Override
	public String toString() {
		return "Tank [price=" + price + ", speed=" + speed + ", range=" + range + ", shoot=" + shoot + "]";
	}
	

}
